package domain;
import java.util.Date;
import javax.persistence.*;
/**
 * 域对象描述 车辆 
 */
@Entity
@Table(name = "T_VEHICLE")
public class Vehicle{
/**
 *主键
 */
private Integer id;
/**
 *车辆编号
 */
private String numCode;
/**
 *厂家型号
 */
private String manufactType;
/**
 *车辆类型
 */
private String carType;
/**
 *车牌号
 */
private String registNumber;
/**
 *车龄
 */
private Integer carAge;
/**
 *载重吨位
 */
private Double shipGRT;
/**
 *发动机编号
 */
private String engineNumber;
/**
 *营运证
 */
private String operaCert;
/**
 *征费吨位
 */
private Double chargeShipGRT;
/**
 *购置日期
 */
private Date buyDate;
/**
 *车辆名称
 */
private String carName;
/**
 *车辆备注
 */
private String carNote;
/**
 *车况
 */
private String carStage;
/**
 *当前位置
 */
private String curPosition;
/**
 *车辆状态
 */
private String carStatus;
/**
 *容积
 */
private Double carVolume;
/**
 *油耗
 */
private Double oilRate;
/**
 *车身号码
 */
private String carBodyNumber;
/**
 *颜色
 */
private String carColor;
/**
 * @return Integer 
 */
@Id
@GeneratedValue
@Column(name="ID")
public Integer getId(){
	return id;
}
/**
 * @return String 
 */
@Column(name="NUMCODE",length=20,unique=true,nullable=true)
public String getNumCode(){
	return numCode;
}
/**
 * @return String 
 */
@Column(name="MANUFACT_TYPE",length=40,unique=false,nullable=true)
public String getManufactType(){
	return manufactType;
}
/**
 * @return String 
 */
@Column(name="CARTYPE",length=20,unique=false,nullable=true)
public String getCarType(){
	return carType;
}
/**
 * @return String 
 */
@Column(name="REG_NUMBER",length=20,unique=false,nullable=true)
public String getRegistNumber(){
	return registNumber;
}
/**
 * @return Integer 
 */
@Column(name="CAR_AGE")
public Integer getCarAge(){
	return carAge;
}
/**
 * @return Double 
 */
public Double getShipGRT(){
	return shipGRT;
}
/**
 * @return String 
 */
@Column(name="ENGINE_NUM",length=20,unique=false,nullable=true)
public String getEngineNumber(){
	return engineNumber;
}
/**
 * @return String 
 */
@Column(name="OPERA_CERT",length=20,unique=false,nullable=true)
public String getOperaCert(){
	return operaCert;
}
/**
 * @return Double 
 */
public Double getChargeShipGRT(){
	return chargeShipGRT;
}
/**
 * @return Date 
 */
@Column(name="BUY_DATE",unique=false,nullable=true)
public Date getBuyDate(){
	return buyDate;
}
/**
 * @return String 
 */
@Column(name="CAR_NAME",length=40,unique=false,nullable=false)
public String getCarName(){
	return carName;
}
/**
 * @return String 
 */
@Column(name="CAR_NOTE",length=500,unique=false,nullable=true)
public String getCarNote(){
	return carNote;
}
/**
 * @return String 
 */
@Column(name="CAR_STAGE",length=20,unique=false,nullable=true)
public String getCarStage(){
	return carStage;
}
/**
 * @return String 
 */
@Column(name="CUR_POSITION",length=80,unique=false,nullable=true)
public String getCurPosition(){
	return curPosition;
}
/**
 * @return String 
 */
@Column(name="CAR_STATUS",length=8,unique=false,nullable=true)
public String getCarStatus(){
	return carStatus;
}
/**
 * @return Double 
 */
public Double getCarVolume(){
	return carVolume;
}
/**
 * @return Double 
 */
public Double getOilRate(){
	return oilRate;
}
/**
 * @return String 
 */
@Column(name="BODY_NUMBER",length=20,unique=false,nullable=true)
public String getCarBodyNumber(){
	return carBodyNumber;
}
/**
 * @return String 
 */
@Column(name="CAR_COLOR",length=5,unique=false,nullable=true)
public String getCarColor(){
	return carColor;
}
/**
 * @param pId 
 */
public void setId(Integer pId){
	id=pId;
}
/**
 * @param pNumCode 
 */
public void setNumCode(String pNumCode){
	numCode=pNumCode;
}
/**
 * @param pManufactType 
 */
public void setManufactType(String pManufactType){
	manufactType=pManufactType;
}
/**
 * @param pCarType 
 */
public void setCarType(String pCarType){
	carType=pCarType;
}
/**
 * @param pRegistNumber 
 */
public void setRegistNumber(String pRegistNumber){
	registNumber=pRegistNumber;
}
/**
 * @param pCarAge 
 */
public void setCarAge(Integer pCarAge){
	carAge=pCarAge;
}
/**
 * @param pShipGRT 
 */
public void setShipGRT(Double pShipGRT){
	shipGRT=pShipGRT;
}
/**
 * @param pEngineNumber 
 */
public void setEngineNumber(String pEngineNumber){
	engineNumber=pEngineNumber;
}
/**
 * @param pOperaCert 
 */
public void setOperaCert(String pOperaCert){
	operaCert=pOperaCert;
}
/**
 * @param pChargeShipGRT 
 */
public void setChargeShipGRT(Double pChargeShipGRT){
	chargeShipGRT=pChargeShipGRT;
}
/**
 * @param pBuyDate 
 */
public void setBuyDate(Date pBuyDate){
	buyDate=pBuyDate;
}
/**
 * @param pCarName 
 */
public void setCarName(String pCarName){
	carName=pCarName;
}
/**
 * @param pCarNote 
 */
public void setCarNote(String pCarNote){
	carNote=pCarNote;
}
/**
 * @param pCarStage 
 */
public void setCarStage(String pCarStage){
	carStage=pCarStage;
}
/**
 * @param pCurPosition 
 */
public void setCurPosition(String pCurPosition){
	curPosition=pCurPosition;
}
/**
 * @param pCarStatus 
 */
public void setCarStatus(String pCarStatus){
	carStatus=pCarStatus;
}
/**
 * @param pCarVolume 
 */
public void setCarVolume(Double pCarVolume){
	carVolume=pCarVolume;
}
/**
 * @param pOilRate 
 */
public void setOilRate(Double pOilRate){
	oilRate=pOilRate;
}
/**
 * @param pCarBodyNumber 
 */
public void setCarBodyNumber(String pCarBodyNumber){
	carBodyNumber=pCarBodyNumber;
}
/**
 * @param pCarColor 
 */
public void setCarColor(String pCarColor){
	carColor=pCarColor;
}
}
